package com.deryun.tyl.service.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.deryun.tyl.bean.Platform;
import com.deryun.tyl.dao.impl.PlatformDaoImpl;

@Service("platformServiceImpl")
public class PlatformServiceImpl {
	
	@Resource(name="platformDaoImpl")
	private PlatformDaoImpl platformDaoImpl;
	
	public int updatePlatform(Platform platform){
		return platformDaoImpl.updatePlatform(platform);
	}
	
	public Platform getPlatform(){
		return platformDaoImpl.getPlatform();
	}
}
